package com.kaili.basic.pojo.entity;



import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * 用户对象
 * @Copyright: Copyright (c) 2017
 * @Company: 杭州凯立通信有限公司
 * @author zhengs
 * @version 1.0.0 2017年7月18日 下午7:24:00
 */
@TableName("base_barcode_rule")
public class BaseBarcodeRule extends CommonVo implements Serializable {



	private static final long serialVersionUID = 1L;

	private Integer Id;
	//运单类型
	private Long ewbType;
	//运单类型名称
	private String ewbTypeName;
	//运单规则
	private String barcodeRule;
	//状态（0：失效，2：正常）
	private Integer rdstatus;
	//创建人姓名
	private String createByName;
	//修改人姓名
	private String ModifyByName;
	//所属主单ID
	private Long parentId;
	//规则长度
	private Integer length;
	//子单长度,此字段只是为了判断是否创建子单规则，不存数据库
	private Integer chLength;
	//最大子单数
	private Integer maxChPiece;



	public Integer getId() {
		return Id;
	}

	public void setId(Integer Id) {
		this.Id = Id;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Long getEwbType() {
		return ewbType;
	}

	public void setEwbType(Long ewbType) {
		this.ewbType = ewbType;
	}

	public String getBarcodeRule() {
		return barcodeRule;
	}

	public void setBarcodeRule(String barcodeRule) {
		this.barcodeRule = barcodeRule;
	}

	public Integer getRdstatus() {
		return rdstatus;
	}

	public void setRdstatus(Integer rdstatus) {
		this.rdstatus = rdstatus;
	}

	public String getCreateByName() {
		return createByName;
	}

	public void setCreateByName(String createByName) {
		this.createByName = createByName;
	}

	public String getModifyByName() {
		return ModifyByName;
	}

	public void setModifyByName(String modifyByName) {
		ModifyByName = modifyByName;
	}

	public String getEwbTypeName() {
		return ewbTypeName;
	}

	public void setEwbTypeName(String ewbTypeName) {
		this.ewbTypeName = ewbTypeName;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Integer getLength() {
		return length;
	}

	public void setLength(Integer length) {
		this.length = length;
	}

	public Integer getChLength() {
		return chLength;
	}

	public void setChLength(Integer chLength) {
		this.chLength = chLength;
	}

	public Integer getMaxChPiece() {
		return maxChPiece;
	}

	public void setMaxChPiece(Integer maxChPiece) {
		this.maxChPiece = maxChPiece;
	}

	@Override
	public String toString() {
		return "BaseBarcodeRule{" +
				"Id=" + Id +
				", ewbType=" + ewbType +
				", ewbTypeName='" + ewbTypeName + '\'' +
				", barcodeRule='" + barcodeRule + '\'' +
				", rdstatus=" + rdstatus +
				", createByName='" + createByName + '\'' +
				", ModifyByName='" + ModifyByName + '\'' +
				", parentId=" + parentId +
				", length=" + length +
				", chLength=" + chLength +
				", maxChPiece=" + maxChPiece +
				'}';
	}
}